package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.ShoppingGroup;

import java.util.List;

@DBMapper
public interface ShoppingGroupMapper {
    int deleteByPrimaryKey(Integer key);

    int insert(ShoppingGroup record);

    int insertSelective(ShoppingGroup record);

    ShoppingGroup selectByPrimaryKey(Integer key);

    int updateByPrimaryKeySelective(ShoppingGroup record);

    int updateByPrimaryKey(ShoppingGroup record);

    List<ShoppingGroup> selectWithGoodsByCondition(ShoppingGroup shoppingGroup);

    ShoppingGroup selectWithGoodsByPrimaryKey(Integer activeId);
}